package Access;

import Entities.UserGroup;
import java.util.LinkedList;
import javax.ejb.Remote;

/**
 *
 * @author 647_2
 */
@Remote
public interface UserGroupsRemote {
    public LinkedList<UserGroup> getAllUserGroups();
    public LinkedList<UserGroup> getAllUserGroups(int start, int count);
    public UserGroup getUserGroup(int ID);

    public boolean AddUserGroup(String name);
    public boolean UpdateUserGroup(int ID, String name);
    public boolean DeleteUserGroup(int ID);
}
